package com.fourhats.services.dto;

import java.util.List;

public class CategoryDto implements SearchableEntity {

	private Long id;
	
	private String name;

	private List<ProductDto> products;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ProductDto> getProducts() {
		return products;
	}

	public void setProducts(List<ProductDto> products) {
		this.products = products;
	}

	public Long getValue() {
		return this.id;
	}
	
	public String getLabel() {
		return this.name;
	}
	
	public String getAutocompleteCategory() {
		return "Productos";
	}
}